@layout("/common/_container.html"){
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>广告栏滚动条管理</h5>
			</div>
			<div class="ibox-content">
				<div class="row row-lg">
					<div class="col-sm-12">
						<div class="row">
							<div class="col-lg-10 col-sm-9">
								<div class="row">
									<div class="col-lg-10 col-sm-9">
										<div class="row">
											<div class="col-lg-4 col-sm-12">
													<#SelectCon id="type" name="类型" >
													<option value="1">广告栏</option>
													<option value="2">滚动条</option>
											        </#SelectCon>
											</div>
											<div class="col-lg-4 col-sm-6">
												<#TimeCon id="beginTime" name="创建开始日期" isTime="false" pattern="YYYY-MM-DD"/>
											</div>
											<div class="col-lg-4 col-sm-6">
												<#TimeCon id="endTime" name="创建结束日期" isTime="false" pattern="YYYY-MM-DD"/>
											</div>
										</div>
									</div>
									<div class="col-lg-2 col-sm-3">
										<div class="row">
											<div class="col-lg-12 col-sm-12">
												<#button name="搜索" icon="fa-search" clickFun="Advertisement.search()"/>
												<#button name="重置" icon="fa-trash" clickFun="Advertisement.resetSearch()" space="true"/>
											</div>
										</div>
									</div>
								</div>
								<div class="hidden-xs" id="opuserTableToolbar" role="group">
									@if(shiro.hasPermission("/advertisement/add")){
									<#button name="添加" icon="fa-plus" clickFun="Advertisement.openAdd()"/>
									@}
									@if(shiro.hasPermission("/advertisement/edit")){
									<#button name="修改" icon="fa-edit" clickFun="Advertisement.openChange()" space="true"/>
									@}
									@if(shiro.hasPermission("/advertisement/delete")){
									<#button name="删除" icon="fa-remove" clickFun="Advertisement.del()" space="true"/>
									@}
								</div>
								<#table id="AdvertisementTable"/>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="${ctxPath}/static/modular/system/advertisement/advertisement.js"></script>
@}
